package com.kunlun.basedata.organize.dao;

import com.kunlun.basedata.organize.model.CompanyModel;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 部门数据库Dao
 */
@Repository
public interface ICompanyDao {

    public List<CompanyModel> getCompanyPage(Map<String, Object> queryMap) throws Exception;

    public int getCompanyCount(Map<String, Object> queryMap) throws Exception;

    public void addCompany(CompanyModel companyModel) throws Exception;

    public void updateCompany(CompanyModel companyModel) throws Exception;

    public void deleteCompany(List<String> list) throws Exception;

    public List<CompanyModel> getCompanyList(Map<String, Object> queryMap) throws Exception;
}
